﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master_KQXS.Master" AutoEventWireup="true"
    CodeBehind="ThongKe_Thang.aspx.cs" Inherits="WebUI.ThongKe_Thang" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" style="color: #000000;
        font-family: arial, helvetica, sans-serif; font-size: 12px; margin-left: 5px;
        margin-top: 10px">
        <tbody>
            <tr style="margin: 0px; padding: 0px;">
                <td width="50%" class="tcat_box_main_yellow" style="font-family: arial, helvetica, sans-serif;
                    font-size: 14px; font-weight: bold; color: #ffffff; margin: 0px; padding: 0px 0px 0px 10px;
                    background-color: #e4932b; height: 34px; line-height: 34px;">
                    <h2 style="font-size: 14px; line-height: 10px; margin: 10px;">
                        PHÂN TÍCH 2 SỐ BẤT KỲ<span style="font-weight: normal; margin: 0px; padding: 0px;">&nbsp;(Theo
                            tỉnh / thành bạn chọn)</span></h2>
                </td>
            </tr>
            <tr style="margin: 0px; padding: 0px;">
                <td colspan="4" style="font-family: arial, helvetica, sans-serif; font-size: 12px;
                    border-left-style: solid; border-left-color: #e4932b; border-right-style: solid;
                    border-right-color: #e4932b; border-bottom-style: solid; border-bottom-color: #e4932b;">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tbody>
                            <tr style="font-size: 12px; color: #000000;">
                                <td class="cbb_tinhnang" align="left" style="font-family: arial, helvetica, sans-serif;
                                    font-size: 13px; margin: 0px; padding: 5px 5px 5px 30px; line-height: 22px;">
                                    Bước 1: Nhập 2 số bạn cần phân tích
                                </td>
                            </tr>
                            <tr style="font-size: 12px; color: #000000;">
                                <td class="cbb_tinhnang" align="left" style="font-family: arial, helvetica, sans-serif;
                                    font-size: 13px; margin: 0px; padding: 5px 5px 5px 30px; line-height: 22px;">
                                    <asp:TextBox ID="txtphantich" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr style="font-size: 12px; color: #000000; margin: 0px; padding: 0px;">
                                <td class="cbb_tinhnang" align="left" style="font-family: arial, helvetica, sans-serif;
                                    font-size: 13px; margin: 0px; padding: 5px 5px 5px 30px; line-height: 22px;">
                                    Bước 2: Chọn KQXS của tỉnh/thành mà bạn muốn phân tích
                                </td>
                            </tr>
                            <tr style="font-size: 12px; color: #000000; margin: 0px; padding: 0px;">
                                <td class="cbb_tinhnang" align="left" style="font-family: arial, helvetica, sans-serif;
                                    font-size: 13px; margin: 0px; padding: 5px 5px 5px 30px; line-height: 22px;">
                                    <asp:DropDownList ID="ddltinhthanh" runat="server">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr style="font-size: 12px; color: #000000; margin: 0px; padding: 0px;">
                                <td class="cbb_tinhnang" align="left" style="font-family: arial, helvetica, sans-serif;
                                    font-size: 13px; margin: 0px; padding: 5px 5px 5px 30px; line-height: 22px;">
                                    Bước 3: Chọn tháng cần phân tích
                                </td>
                            </tr>
                            <tr style="font-size: 12px; color: #000000; margin: 0px; padding: 0px;">
                                <td class="cbb_tinhnang" align="left" style="font-family: arial, helvetica, sans-serif;
                                    font-size: 13px; margin: 0px; padding: 5px 5px 5px 30px; line-height: 22px;">
                                    <div style="width: 100px; float: left;">
                                        Tháng:
                                    </div>
                                    <asp:DropDownList ID="ddlthang" runat="server">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr style="font-size: 12px; color: #000000; margin: 0px; padding: 0px;">
                                <td class="cbb_tinhnang" align="left" style="font-family: arial, helvetica, sans-serif;
                                    font-size: 13px; margin: 0px; padding: 5px 5px 5px 30px; line-height: 22px;">
                                    <asp:Button ID="tbnphantich" runat="server" Text="Phân tích" OnClick="tbnphantich_Click" />
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
    <asp:Panel runat="server" Visible="false" ID="Panel_ketqua">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="color: #000000;
            font-family: arial, helvetica, sans-serif; font-size: 12px; margin-left: 5px;
            margin-top: 10px; margin-bottom: 10px">
            <tbody>
                <tr style="margin: 0px; padding: 0px;">
                    <td width="50%" class="tcat_box_main_yellow" style="font-family: arial, helvetica, sans-serif;
                        font-size: 14px; font-weight: bold; color: #ffffff; margin: 0px; padding: 0px 0px 0px 10px;
                        background-color: #e4932b; height: 34px; line-height: 34px;">
                        <h2 style="font-size: 14px; line-height: 20px; margin: 10px;">
                            <div>
                                Kết quả phân tích số
                                <asp:Label ID="lblso" runat="server" Text="">  </asp:Label>
                            </div>
                            <div>
                                của tỉnh
                                <asp:Label ID="lbltinh" runat="server" Text=""></asp:Label>
                            </div>
                            <span style="font-weight: normal; margin: 0px; padding: 0px;">Trong tháng:
                                <asp:Label ID="lblthang" runat="server" Text=""></asp:Label>
                            </span>
                        </h2>
                    </td>
                </tr>
                <tr style="margin: 0px; padding: 0px;">
                    <td colspan="4" style="font-family: arial, helvetica, sans-serif; font-size: 12px;
                        border-left-style: solid; border-left-color: #e4932b; border-right-style: solid;
                        border-right-color: #e4932b; border-bottom-style: solid; border-bottom-color: #e4932b;">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tbody>
                                <tr style="font-size: 12px; color: #000000;">
                                    <td class="cbb_tinhnang" align="left" style="font-family: arial, helvetica, sans-serif;
                                        font-size: 13px; margin: 0px; padding: 5px 5px 5px 30px; line-height: 22px;">
                                        Các loại
                                    </td>
                                    <td class="cbb_tinhnang" align="left" style="font-family: arial, helvetica, sans-serif;
                                        font-size: 13px; margin: 0px; padding: 5px 5px 5px 30px; line-height: 22px;">
                                        Số lần xuất hiện
                                    </td>
                                </tr>
                                <asp:Repeater ID="Repeater1" runat="server">
                                    <ItemTemplate>
                                        <tr style="font-size: 12px; color: #000000;">
                                            <td class="cbb_tinhnang" align="left" style="font-family: arial, helvetica, sans-serif;
                                                font-size: 13px; margin: 0px; padding: 5px 5px 5px 30px; line-height: 22px;">
                                                <%# ThanhTu.GNCMedia.KQXS.Common.Utils.ToUTF8String((byte[]) DataBinder.Eval(Container.DataItem, "KindAward"))%>
                                            </td>
                                            <td class="cbb_tinhnang" align="left" style="font-family: arial, helvetica, sans-serif;
                                                font-size: 13px; margin: 0px; padding: 5px 5px 5px 30px; line-height: 22px;">
                                                <%# DataBinder.Eval(Container.DataItem, "Count")%>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </tbody>
        </table>
    </asp:Panel>
</asp:Content>
